package com.map.struct.bean.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class CarDTO {

    private Long id;
    private String vin;
    private Double price;
    private Double totalPrice;
    private Date publishDate;
    private String brand;
    private String color;
    private List<PartDTO> partDTOs;
    private DriverDTO driverDTO;

}
